import { http } from '@/common/https.js'

// 处理预警
export const alerttApi = (data) => {
  return http({
    url: '/logistics/alert',
    method: 'put',
	data
  })
}

// 获取预警提醒类型
export const alerttTypeApi = () => {
  return http({
    url: '/system/dict/data/type/sys_alert_type',
    method: 'get'
  })
}

// 获取预警提醒状态
export const alerttStatusApi = () => {
  return http({
    url: '/system/dict/data/type/sys_alert_status',
    method: 'get'
  })
}

// 预约申请详情
export const reservationDetailApi = (id) => {
  return http({
    url: '/logistics/reservation/' + id,
    method: 'get'
  })
}

// 入库计划详情
export const inplanDetailApi = (id) => {
  return http({
    url: '/logistics/inplan/' + id,
    method: 'get'
  })
}
